{% extends 'test_base.html' %}

{% macro input(name, placeholder="")%}
<input type="text" name="{{ name }}" placeholder="{{ placeholder }}">
{% endmacro %}

{% block title %}
Macro test
{% endblock %}

{% block content %}
<h2>Macro</h2>
<div>
    {{ input("input1") }}
    <hr>
    {{ input("input2", marco_test_placeholder) }}
</div>
{% endblock %}